﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Mappings;

namespace Apollo
{
    [NHibernateEntity(Table = "PenguinKPIs")]
    public class PenguinKPI
    {
        public PenguinKPI() { }

        [PrimaryKey]
        public virtual int Id { get; set; }

        [Property]
        public virtual string KPIName { get; set; }

        [Property]
        public virtual string KPICode { get; set; }

        [Property]
        public virtual string KPIValue { get; set; }

        [Property]
        public virtual double KPIDoubleValue { get; set; }

        /*[BelongsTo(Column = "ID_Employee")]
        public virtual Employee Employee { get; set; }*/

        [BelongsTo(Column = "ID_User")]
        public virtual User User { get; set; }

    }
}
